<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<table width="100%" cellpadding="0" cellspacing="0" padding="3px">
		<tr height="30px">
			<td style="border-bottom: 1px solid #CCCCCC;"><b>Alimento</b></td>
			<td align="center" style="border-bottom: 1px solid #CCCCCC;"><b>Por&ccedil;&atilde;o</b></td>
			<td align="right" style="border-bottom: 1px solid #CCCCCC;"><b>Tot. Kcal</b></td>
		</tr>
	<c:forEach var="refeicao" items="${refeicaoAlimento}">
		<tr>
			<td style="border-bottom: 1px dotted #CCCCCC;"><c:out value="${refeicao.alimento.nome}" /></td>
			<td align="center" style="border-bottom: 1px dotted #CCCCCC;"><fmt:formatNumber value="${refeicao.porcao}" type="number" maxFractionDigits="0" minFractionDigits="0" /></td>
			<td align="right" style="border-bottom: 1px dotted #CCCCCC;"><fmt:formatNumber value="${refeicao.calorias}" type="number" maxFractionDigits="2" minFractionDigits="2" /></td>
		</tr>
	</c:forEach>
</table>